/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package comandaXM.classes.manteniment.auxiliar;

/**
 *
 * @author xmarti
 */
public class Provincia {
    private int id;
    private String codi;
    private String nom; 
    public Provincia (){

    }
    public Provincia(int id,String codi, String nom){
        this.id= id; 
        this.codi=codi;  
        this.nom=nom; 
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCodi() {
        return codi;
    }

    public void setCodi(String codi) {
        this.codi = codi;
    }

    public String getNom() {
        return nom;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }
    public String toString(){
        return this.codi +"-"+ this.nom ; 
    }
}
